WP_Defender\Controller\Firewall D

Total Complexity 162
Dependencies 42
Dependents 16
Total lines 1,302
Lines of code 809
Logical lines of code 411
Comment lines 329
Methods 39
Properties 4

Methods 39

Method Rating Maintainability Complexity Lines of code
actions_for_blocked()
B
34 17 89
save_settings()
A
41 13 61
maybe_lockout()
A
44 12 44
agf_unlock_user()
A
44 10 41
__construct()
A
40 8 65
config_strings()
A
48 10 34
maybe_extend_mime_types()
A
50 9 25
verify_blocked_user()
A
47 8 39
maybe_show_demo_lockout()
S
49 6 33
schedule_cleanup_blocklist_ips_event()
S
57 7 17
maybe_lockout_gathered_ips()
S
58 7 15
export_strings()
S
50 5 28
sync_ip_header()
S
53 5 22
handle_detect_ip_header()
S
56 5 18
to_array()
S
52 3 27
check_attempt_counter_by()
S
59 3 14
print_emoji_script()
S
60 3 13
send_again()
S
61 3 12
data_frontend()
S
46 1 38
get_summary()
S
56 2 19
empty_lockouts()
S
58 2 18
empty_logs()
S
58 2 18
remove_data()
S
59 2 15
send_unlock_email()
S
52 1 27
import_data()
S
69 2 7
extend_mime_types()
S
71 2 6
enqueue_assets()
S
64 2 10
dashboard_activation()
S
61 1 12
dashboard_widget()
S
74 1 5
menu_title()
S
82 1 3
remove_settings()
S
67 1 9
main_view()
S
81 1 3
clean_up_firewall_lockout()
S
82 1 3
clean_up_unlockout()
S
75 1 4
update_trusted_proxy_preset_ips()
S
82 1 3
clean_up_temporary_ip_blocklist()
S
82 1 3
smart_ip_detection_ping()
S
82 1 3
clean_up_firewall_logs()
S
82 1 3
whitelist_server_public_ip()
S
82 1 3